package com.share.example.spider.model.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 基金表
 * </p>
 *
 * @author author
 * @since 2022-07-23
 */
@Data
@Accessors(chain = true)
@TableName("s_stock_day")
public class StockDay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;
    /**
     * 基金编码
     */
    private String code;
    /**
     * 基金名字
     */
    private String name;
    /**
     * 风险类型
     */
    @TableField(value = "start_price")
    private Double startPrice;
    /**
     * 净值
     */
    @TableField(value = "end_price")
    private Double endPrice;
    /**
     * 营收率
     */
    @TableField(value = "top_price")
    private Double topPrice;
    /**
     * 累计净制
     */
    @TableField(value = "low_price")
    private Double lowPrice;
    @TableField(value = "one_date")
    private String oneDate;
    @TableField(value = "create_time")
    private Date createTime;

}
